/*
 * 广州丰石科技有限公司拥有本软件版权2021并保留所有权利。
 * Copyright 2021, Guangzhou Rich Stone Data Technologies Company Limited,
 * All rights reserved.
 */

package demo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 普通用户表
 * </p>
 *
 * @author TangZibo
 * @since 2021-04-20
 */
@Data
@ApiModel(value = "SystemNormalUsers对象", description = "普通用户表")
public class SystemNormalUserVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账号")
    private String username;

    @ApiModelProperty(value = "姓名")
    private String nickname;

    @ApiModelProperty(value = "所在区县")
    private String districtCode;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "所属部门")
    private Long belongDeptId;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;
}
